<?php /* Smarty version 2.6.22, created on 2009-03-07 13:53:11
         compiled from file:/home/urbaso01/domains/sobanu.net/public_html/masterplan/system/../lib/account/views/login.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'run_app', 'file:/home/urbaso01/domains/sobanu.net/public_html/masterplan/system/../lib/account/views/login.tpl', 2, false),)), $this); ?>
<?php if ($this->_tpl_vars['fms_account']): ?>
	<?php echo run_application(array('name' => 'redirector','parameters' => "/"), $this);?>
	
<?php else: ?>
<div id="accountLogin">
	<blockquote>Log in</blockquote>
	<form action="<?php echo $this->_tpl_vars['env']['url']; ?>
account/login/" method="post" id="accountLoginForm">
		<input type="hidden" name="login" value="true" />
		<p><label for="username"><?php echo $this->_tpl_vars['Language']->get('username'); ?>
: </label> <input type="text" name="username" id="username" /></p>
		<p><label for="password"><?php echo $this->_tpl_vars['Language']->get('password'); ?>
: </label> <input type="password" name="password" id="password" /></p>
		<p><input type="button" onclick="return sendLogin()" value="Log in" /></p>
		<p><a href="<?php echo $this->_tpl_vars['env']['url']; ?>
account/register/">Register</a> <a href="<?php echo $this->_tpl_vars['env']['url']; ?>
account/forgot-password/">Forgot password?</a></p>
	</form>
</div>
<?php endif; ?>

<!-- error messages -->
<div id="dialog" class="dialogDivision" title="Don't rush">
	Please enter username and password to proceed!
</div>